package com.ibeetl.admin.aod.dao;

import java.util.List;

import com.ibeetl.admin.aod.web.query.AodBlackListQuery;
import org.beetl.sql.core.annotatoin.SqlResource;
import org.beetl.sql.core.mapper.BaseMapper;
import org.beetl.sql.core.engine.PageQuery;

import  com.ibeetl.admin.aod.entity.*;

/**
 * AodBlackList Dao
 */
@SqlResource("aod.aodBlackList")
public interface AodBlackListDao extends BaseMapper<AodBlackList> {


    PageQuery<AodBlackList> queryByCondition(PageQuery query);

    void batchDelAodBlackListByIds( List<Long> ids);

    AodBlackList queryByPhoneNumber(String phoneNumber);

    List<String> queryAllPhoneNumber(AodBlackListQuery aodBlackListQuery);

    AodBlackList queryByPhoneNumberNonId(AodBlackList aodBlackList);

}